package cn.stylefeng.guns.modular.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.entity.IdjTheLicense;

/**
 * <p>
 * 许可证 Mapper 接口
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
public interface IdjTheLicenseMapper extends BaseMapper<IdjTheLicense> {

    Page<Map<String, Object>> getList(@Param("page") Page<IdjTheLicense> page, @Param("keyword") String keyword, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("yes") String yes, @Param("no") String no, @Param("isAudit") Integer isAudit);

    IdjTheLicense selectByTheLicenseId(@Param("theLicenseId") Long theLicenseId);
    
    int setIsAudit(IdjTheLicense license);

}
